<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <div>12345</div> div在html里叫标签，在DOM里叫dom对象

  <script>
    const div = document.querySelector('div')
    //打印对象
    console.dir(div)  //div在DOM里叫dom对象
    console.log(typeof div)
  </script>

</body>

</html>